import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import organization from './modules/organization'
import templateConfiguration from './modules/templateConfiguration'
import role from './modules/role'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
    organization,
    role,
    templateConfiguration
  },
  getters
})

export default store
